<template>
  <div>
     <input type="text" v-model="obj.age">
   </div>
</template>
 
<script>
export default {
  components: {},
  props: {},
  data() {
    return {
      msg:"hello",
      obj:{
        name:"hello",
        age:1312
      }
    };
  },
  computed: {},
  watch: {
   /*  "obj.age"(nval,oval){
      console.log(nval,oval)
    }, */
    obj:{
      deep:true,
      immediate:true,
      handler(nv,ov){
        console.log(nv,ov)
      }
    }
  },
  created() {},
  methods: {}
};
</script>

<style scoped>
     
</style>